<!DOCTYPE html>
<html>
    <head>
        <? require_once 'header.php'; ?>
    </head>
    <body>
        <?php
        getNavbar();
        ?>
        <div class="container-fluid" style="margin-top: 60px;">
            <div class="row-fluid">
                <div class="span3 container">
                    <div class="navbar">
                        <div class="navbar-inner">
                            <a class="brand" href="">Perfil</a>
                        </div>
                        <div class="container well">
                            <h3 style="margin: 0px;"><?php echo $this->getEmpresa()->getNome(); ?></h3>
                            <? echo '<img class="img-polaroid span12" src="/img/' . ($this->getEmpresa()->getImagemPrincipal()->getImagem()) . '" alt="photo" style="margin: 0px;"><br>'; ?>
                            <p>
                            <address>
                                <strong><?php echo $this->getEmpresa()->getNome(); ?></strong><br>
                                <?php echo $this->getEmpresa()->getEndereco()->getDescricao(); ?><br>
                                <?php echo $this->getEmpresa()->getCidade()->getNome() . ", " . $this->getEmpresa()->getCidade()->getEstado()->getNome() . "." ?><br>
                                <abbr title="Telefone">Tel:</abbr> (123) 456-7890<br>
                                <a href="mailto:#"><? echo $this->getEmpresa()->getEmail(); ?></a>
                            </address>
                            </p>
                        </div>

                    </div>
                </div>
                <div class="span9 container">
                    <div class="navbar">
                        <div class="navbar-inner">
                            <ul class="nav">
                                <li class="active"><a href="#meusEventos" data-toggle="tab"><i class="icon-list-alt"></i>Meus Eventos</a></li>
                            </ul>
                        </div>
                        <div class="container well">
                            <div class="tab-content">

                                <div class="tab-pane active" id="meusEventos">
                                    <? $this->getMeusEventos($this->getEmpresa()); ?>
                                </div>
                            </div>
                        </div>
                    </div>

                </div>
            </div>
        </div>
        <?
        require_once 'footer.php';
        ?>
    </body>
</html>